<?php defined('PT_ROOT') || exit('Permission denied');?>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="utf-8" />
    <title>用户登陆 - <?php echo $this->pt->config->get("sitename");?></title>
    
<meta name="author" content="www.ptcms.com">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta http-equiv="Cache-Control" content="no-transform " />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<meta name="applicable-device" content="pc">
<!--<meta http-equiv="mobile-agent" content="format=html5; url=http://m.kuaiyankanshu.net<?php echo __SELF__;?>">-->
<link rel="stylesheet" href="<?php echo $this->pt->config->get("resurl");?><?php echo __TMPL__;?>/css/global.css" />
<link rel="stylesheet" href="<?php echo $this->pt->config->get("resurl");?><?php echo __TMPL__;?>/css/style.css" />
<!--[if lt IE 9]>
<script src="<?php echo $this->pt->config->get("resurl");?><?php echo __TMPL__;?>/script/html5shiv.min.js"></script>
<![endif]-->

    <link rel="stylesheet" href="<?php echo $this->pt->config->get("resurl");?><?php echo __TMPL__;?>/css/user.css" />
</head>
<body>
<div class="user-header clearfix">
    <div class="w-all">
        <div class="logo fl"><a href="<?php echo $this->pt->config->get("siteurl");?>" title="<?php echo $this->pt->config->get("sitename");?>"><img src="<?php echo __TMPL__;?>/image/logo.png" alt="<?php echo $this->pt->config->get("sitename");?>" /></a></div>
        <span class="line fl"></span>
        <span class="site-name">登陆<?php echo $this->pt->config->get("sitename");?>账号</span>
        <div class="fr">
            <span class="f2 tip">没有<?php echo $this->pt->config->get("sitename");?>账号？</span>
            <a class="btn btn-pt btn-small" href="<?php echo U("user.public.register",array());?>">注册</a>
        </div>
    </div>
</div>
<div class="clear"></div>
<section class="w-all clearfix">
    <div class="user-position">
        <a href="<?php echo U("user.public.register",array());?>">注册账户</a>
        <a href="<?php echo U("user.public.login",array());?>" class="current">登陆账户</a>
    </div>
    <div class="userform fl">
        <form action="<?php echo __SELF__;?>" class="ajaxform " method="post">
            <div class="formText_wrap">
                <div class="formText_notice">帐号:</div>
                <div class="formText"><input type="text" class="text" name="username" placeholder="请输入帐号" autocomplete="off"></div>
            </div>
            <div class="formText_wrap">
                <div class="formText_notice">密码:</div>
                <div class="formText"><input type="password" name="password" class="text" placeholder="请输入密码" autocomplete="off"></div>
            </div>
            <div class="formText_wrap">
                <button class="formBtn">确认登录</button>
            </div>
            <div class="formText_wrap">
                <div class="formText_notice">&nbsp;</div>
                <div class="formTextWord">
                    <a href="<?php echo U("user.public.register",array());?>" title="">还没有账号？快速注册&gt;&gt;</a>
                </div>
            </div>
            <div class="clear"></div>
        </form>
    </div>
    <div class="usernotice fr">
        <div class="title">使用第三方账号登陆</div>
        <div class="con">
            <a href="<?php echo U("user.public.thirdlogin",array('type'=>'qq'));?>" class="btn btn-danger"><i class="pticon pticon-qq pticon-lg" ></i> 使用腾讯QQ登陆</a>
            <a href="<?php echo U("user.public.thirdlogin",array('type'=>'weibo'));?>" class="btn btn-warning"><i class="pticon pticon-weibo pticon-lg"></i> 使用微博账号登陆</a>
            <a href="javascript:alert('尚未开通微信登陆')" class="btn btn-success"><i class="pticon pticon-weixin pticon-lg"></i> 使用微信账号登陆</a>
        </div>
    </div>
</section>
<footer>
    <div class="copyright w-all tac">
        <?php $list=$this->pt->block->getdata('pagelist',array());?>
        <?php if(is_array($list)): foreach($list as $key =>$loop):?>
        <a href="<?php echo $loop['url'];?>" title="<?php echo $loop['name'];?>"><?php echo $loop['name'];?></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <?php endforeach; endif;?>
        <a href="<?php echo U("sitemap.index.index",array());?>" title="sitemap" target="_blank">Sitemap</a>
        <br />
        Copyright © 2009-2014 <a href="<?php echo $this->pt->config->get("siteurl");?>" target="_blank"><?php echo $this->pt->config->get("sitename");?></a> All Rights Reserved .版权所有<?php echo $this->pt->config->get("sitename");?>。<br />
        本站内容系<?php echo $this->pt->config->get("sitename");?>根据您的指令搜索各大小说站得到的链接列表，不代表<?php echo $this->pt->config->get("sitename");?>赞成被搜索网站的内容或立场<br />
        如果版权人认为在本站放置您的作品有损您的利益，请发邮件至<?php echo $this->pt->config->get("email");?>，本站确认后将会立即删除。<br /><?php echo $this->pt->config->get("beian");?>
    </div>
</footer>
<div class="gotop"><i class="pticon pticon-chevron-up"></i></div>
<script type="text/javascript" src="<?php echo $this->pt->config->get("resurl");?><?php echo PT_DIR;?>/public/script/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo $this->pt->config->get("resurl");?><?php echo __TMPL__;?>/script/common.js"></script>
<div style="display:none">
    <?php echo '<script type="text/javascript" src="'.PT_DIR . '/public/ptcms/tongji.js"></script>';?>
</div>
</body>
</html>